// import Mock from 'mockjs'
// import { param2Obj } from '@/utils/util'

const nowUserKey = '15110288389'

const userShipmentAttachMap = {
  15110288389: {
    code: 0,
    message: 'success',
    data: null
  }
}


export default {
  updateShipmentAttach: config => { // update司机-运单-(发车确认、异常事故)附件信息存储
    // console.log('mock-shipOrder-updateShipmentAttach()-config', config)
    // const { attachKey, attachName, attachType, purpose} = config.body
    const resData = userShipmentAttachMap[nowUserKey]
    console.log('mock-account-getDriver()-resData', resData)
    return resData
  }
}
